package edu.whut.mall.${Module}.domain;

import lombok.Data;

<#list typeSet as type>
    <#if type=='Date'>
import java.util.Date;
</#if>
<#if type=='BigDecimal'>
import java.math.BigDecimal;
    </#if>
</#list>

/**
* @program: d9lab-mall
* @description: ${myComment}参数类
* @author:  ${author}
* @create: ${date}
**/
@Data
public class ${ClassName}Params {

<#list fieldList as field>
    /**
    * ${field.comment}
    */
    <#if field.javaType=='Date'>

    </#if>
    private ${field.javaType} ${field.nameHump};

</#list>

    @Override
    public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append(getClass().getSimpleName());
    sb.append(" [");
    sb.append("Hash = ").append(hashCode());
<#list fieldList as field>
    sb.append(", ${field.nameHump}=").append(${field.nameHump});
</#list>
    sb.append("]");
    return sb.toString();
    }

}